package com.yuyu.shop.domain.order.repository;

import com.yuyu.shop.domain.order.DO.OrderDO;

/**
 * @author
 * @version 1.0
 * @description: 秒杀订单仓库
 * @date 2022/9/23 16:08
 */
public interface SecKillRepository {

    Boolean insert(OrderDO setUpdateTime);

    /**
     *
     * @param userId
     * @param goodId
     * @return
     */
    OrderDO getByUserId(Long userId,Long goodId);

    Boolean updateById(OrderDO orderDO);
}
